package com.example.fundappcation.net;

<<<<<<< HEAD

import com.example.fundappcation.bean.MainBean;

import io.reactivex.rxjava3.core.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.Part;
=======
import com.example.fundappcation.Bean;
import com.example.fundappcation.bean.fundBean;

import io.reactivex.rxjava3.core.Observable;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
>>>>>>> origin/master
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface ApiService {


    /**
     * 查询基金实际情况
     *
     * @param id
     * @param time
     * @return
     */
    @GET("js/{id}")
    Observable<MainBean> getItem(@Path("id") String id, @Query("rt") String time);
}
